package com.qf.web.school_major.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @author xufuhan
 * @Date 2024/9/12 14:00
 */

@Data
public class SchoolMajor {
    @TableId(type = IdType.AUTO)
    private Long majorId;
    private Long collegeId;
    private String majorName;
    private Long orderNum;

    @TableField(exist = false)
    private String collegeName;
}
